'use strict';
exports.main = async (event, context) => {
	try{
		const db = uniCloud.database()
		const collection = db.collection('db_meizitu')
		const res = await collection.add(event)
		return {
			code: 0,
			data: res
		}
	}catch(e){
		return {
			code: -1,
			msg: "服务器错误"
		}
	}
};
